package com.rtgroup.tango.trader.docking.components;

import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.LayoutManager;

import javax.swing.JPanel;

//~--- classes ----------------------------------------------------------------

public class DockableContentPanel extends JPanel {
    public DockableContentPanel() {
        setLayout(new WindowLayoutManager());
    }

    //~--- inner classes ------------------------------------------------------

    class WindowLayoutManager implements LayoutManager {
        @Override
        public void addLayoutComponent(String name, Component comp) {}

        @Override
        public void removeLayoutComponent(Component comp) {}

        @Override
        public Dimension preferredLayoutSize(Container parent) {
            return null;
        }

        @Override
        public Dimension minimumLayoutSize(Container parent) {
            return null;
        }

        @Override
        public void layoutContainer(Container parent) {}
    }
}
